package com.xihuanjun.sdk.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 聚水潭出库单对象
 */
@Data
@ToString
@NoArgsConstructor
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class JSTOut {


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date modified;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date created;


    private String labels;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date io_date;

    private String drp_co_id_from;

    private String shop_id;
    private String shop_name;


    private BigDecimal f_weight;

    private String order_type;

    private String buyer_message;

    private String merge_so_id;

    private String shop_buyer_id;

    private String node;

    private Integer wms_co_id;

    private BigDecimal paid_amount;
    private BigDecimal freight;

    private String lc_id;

    private String logistics_company;
    private String l_id;

    private String remark;
    private String so_id;

    private String order_staff_name;


    private Integer o_id;


    private BigDecimal free_amount;

    private String referrer_id;
    private String referrer_name;

    private String invoice_type;

    private String status;
    private String receiver_state;
    private String receiver_city;
    private String receiver_district;

    private List<JstGoodsItem> items;

    private List<JSTBatch> batchs;

}
